package com.test.statemachine.service;

import com.test.statemachine.dto.Order;

import java.util.Map;

public interface OrderService {
    Order creat();
    Order pay(int id);
    Order deliver(int id);
    Order receive(int id);
    Map<Integer, Order> getOrders();
}
